Optimal. Leaf size=894 \[ \text{result too large to display} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.41524, antiderivative size = 894, normalized size of antiderivative = 1., number of steps used = 55, number of rules used = 15, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.577, Rules used = {5567, 5455, 4180, 2279, 2391, 4185, 5583, 5451, 3767, 8, 5573, 5561, 2190, 6742, 3718} \[ -\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right ) a^4}{b^3 \left (a^2+b^2\right ) d}-\frac{2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right ) a^4}{b \left (a^2+b^2\right )^2 d}+\frac{i f \text{PolyLog}\left (2,-i e^{c+d x}\right ) a^4}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{i f \text{PolyLog}\left (2,-i e^{c+d x}\right ) a^4}{b \left (a^2+b^2\right )^2 d^2}-\frac{i f \text{PolyLog}\left (2,i e^{c+d x}\right ) a^4}{2 b^3 \left (a^2+b^2\right ) d^2}-\frac{i f \text{PolyLog}\left (2,i e^{c+d x}\right ) a^4}{b \left (a^2+b^2\right )^2 d^2}-\frac{f \text{sech}(c+d x) a^4}{2 b^3 \left (a^2+b^2\right ) d^2}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x) a^4}{2 b^3 \left (a^2+b^2\right ) d}-\frac{(e+f x) \text{sech}^2(c+d x) a^3}{2 b^2 \left (a^2+b^2\right ) d}-\frac{(e+f x) \log \left (\frac{e^{c+d x} b}{a-\sqrt{a^2+b^2}}+1\right ) a^3}{\left (a^2+b^2\right )^2 d}-\frac{(e+f x) \log \left (\frac{e^{c+d x} b}{a+\sqrt{a^2+b^2}}+1\right ) a^3}{\left (a^2+b^2\right )^2 d}+\frac{(e+f x) \log \left (1+e^{2 (c+d x)}\right ) a^3}{\left (a^2+b^2\right )^2 d}-\frac{f \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right ) a^3}{\left (a^2+b^2\right )^2 d^2}-\frac{f \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right ) a^3}{\left (a^2+b^2\right )^2 d^2}+\frac{f \text{PolyLog}\left (2,-e^{2 (c+d x)}\right ) a^3}{2 \left (a^2+b^2\right )^2 d^2}+\frac{f \tanh (c+d x) a^3}{2 b^2 \left (a^2+b^2\right ) d^2}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right ) a^2}{b^3 d}-\frac{i f \text{PolyLog}\left (2,-i e^{c+d x}\right ) a^2}{2 b^3 d^2}+\frac{i f \text{PolyLog}\left (2,i e^{c+d x}\right ) a^2}{2 b^3 d^2}+\frac{f \text{sech}(c+d x) a^2}{2 b^3 d^2}+\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x) a^2}{2 b^3 d}+\frac{(e+f x) \text{sech}^2(c+d x) a}{2 b^2 d}-\frac{f \tanh (c+d x) a}{2 b^2 d^2}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{i f \text{PolyLog}\left (2,-i e^{c+d x}\right )}{2 b d^2}+\frac{i f \text{PolyLog}\left (2,i e^{c+d x}\right )}{2 b d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5567
Rule 5455
Rule 4180
Rule 2279
Rule 2391
Rule 4185
Rule 5583
Rule 5451
Rule 3767
Rule 8
Rule 5573
Rule 5561
Rule 2190
Rule 6742
Rule 3718
Rubi steps
\begin{align*} \int \frac{(e+f x) \tanh ^3(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac{\int (e+f x) \text{sech}(c+d x) \tanh ^2(c+d x) \, dx}{b}-\frac{a \int \frac{(e+f x) \text{sech}(c+d x) \tanh ^2(c+d x)}{a+b \sinh (c+d x)} \, dx}{b}\\ &=-\frac{a \int (e+f x) \text{sech}^2(c+d x) \tanh (c+d x) \, dx}{b^2}+\frac{a^2 \int \frac{(e+f x) \text{sech}^2(c+d x) \tanh (c+d x)}{a+b \sinh (c+d x)} \, dx}{b^2}+\frac{\int (e+f x) \text{sech}(c+d x) \, dx}{b}-\frac{\int (e+f x) \text{sech}^3(c+d x) \, dx}{b}\\ &=\frac{2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{f \text{sech}(c+d x)}{2 b d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}+\frac{a^2 \int (e+f x) \text{sech}^3(c+d x) \, dx}{b^3}-\frac{a^3 \int \frac{(e+f x) \text{sech}^3(c+d x)}{a+b \sinh (c+d x)} \, dx}{b^3}-\frac{\int (e+f x) \text{sech}(c+d x) \, dx}{2 b}-\frac{(a f) \int \text{sech}^2(c+d x) \, dx}{2 b^2 d}-\frac{(i f) \int \log \left (1-i e^{c+d x}\right ) \, dx}{b d}+\frac{(i f) \int \log \left (1+i e^{c+d x}\right ) \, dx}{b d}\\ &=\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}+\frac{a^2 \int (e+f x) \text{sech}(c+d x) \, dx}{2 b^3}-\frac{a^3 \int (e+f x) \text{sech}^3(c+d x) (a-b \sinh (c+d x)) \, dx}{b^3 \left (a^2+b^2\right )}-\frac{a^3 \int \frac{(e+f x) \text{sech}(c+d x)}{a+b \sinh (c+d x)} \, dx}{b \left (a^2+b^2\right )}-\frac{(i a f) \operatorname{Subst}(\int 1 \, dx,x,-i \tanh (c+d x))}{2 b^2 d^2}-\frac{(i f) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{b d^2}+\frac{(i f) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{b d^2}+\frac{(i f) \int \log \left (1-i e^{c+d x}\right ) \, dx}{2 b d}-\frac{(i f) \int \log \left (1+i e^{c+d x}\right ) \, dx}{2 b d}\\ &=\frac{a^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 d}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{i f \text{Li}_2\left (-i e^{c+d x}\right )}{b d^2}+\frac{i f \text{Li}_2\left (i e^{c+d x}\right )}{b d^2}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{a f \tanh (c+d x)}{2 b^2 d^2}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}-\frac{a^3 \int (e+f x) \text{sech}(c+d x) (a-b \sinh (c+d x)) \, dx}{b \left (a^2+b^2\right )^2}-\frac{\left (a^3 b\right ) \int \frac{(e+f x) \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx}{\left (a^2+b^2\right )^2}-\frac{a^3 \int \left (a (e+f x) \text{sech}^3(c+d x)-b (e+f x) \text{sech}^2(c+d x) \tanh (c+d x)\right ) \, dx}{b^3 \left (a^2+b^2\right )}+\frac{(i f) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{2 b d^2}-\frac{(i f) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{2 b d^2}-\frac{\left (i a^2 f\right ) \int \log \left (1-i e^{c+d x}\right ) \, dx}{2 b^3 d}+\frac{\left (i a^2 f\right ) \int \log \left (1+i e^{c+d x}\right ) \, dx}{2 b^3 d}\\ &=\frac{a^3 (e+f x)^2}{2 \left (a^2+b^2\right )^2 f}+\frac{a^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 d}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{i f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b d^2}+\frac{i f \text{Li}_2\left (i e^{c+d x}\right )}{2 b d^2}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{a f \tanh (c+d x)}{2 b^2 d^2}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}-\frac{a^3 \int (a (e+f x) \text{sech}(c+d x)-b (e+f x) \tanh (c+d x)) \, dx}{b \left (a^2+b^2\right )^2}-\frac{\left (a^3 b\right ) \int \frac{e^{c+d x} (e+f x)}{a-\sqrt{a^2+b^2}+b e^{c+d x}} \, dx}{\left (a^2+b^2\right )^2}-\frac{\left (a^3 b\right ) \int \frac{e^{c+d x} (e+f x)}{a+\sqrt{a^2+b^2}+b e^{c+d x}} \, dx}{\left (a^2+b^2\right )^2}-\frac{a^4 \int (e+f x) \text{sech}^3(c+d x) \, dx}{b^3 \left (a^2+b^2\right )}+\frac{a^3 \int (e+f x) \text{sech}^2(c+d x) \tanh (c+d x) \, dx}{b^2 \left (a^2+b^2\right )}-\frac{\left (i a^2 f\right ) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{2 b^3 d^2}+\frac{\left (i a^2 f\right ) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{2 b^3 d^2}\\ &=\frac{a^3 (e+f x)^2}{2 \left (a^2+b^2\right )^2 f}+\frac{a^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 d}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}-\frac{i a^2 f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b^3 d^2}-\frac{i f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b d^2}+\frac{i a^2 f \text{Li}_2\left (i e^{c+d x}\right )}{2 b^3 d^2}+\frac{i f \text{Li}_2\left (i e^{c+d x}\right )}{2 b d^2}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}-\frac{a^4 f \text{sech}(c+d x)}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{a^3 (e+f x) \text{sech}^2(c+d x)}{2 b^2 \left (a^2+b^2\right ) d}-\frac{a f \tanh (c+d x)}{2 b^2 d^2}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}-\frac{a^4 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 \left (a^2+b^2\right ) d}+\frac{a^3 \int (e+f x) \tanh (c+d x) \, dx}{\left (a^2+b^2\right )^2}-\frac{a^4 \int (e+f x) \text{sech}(c+d x) \, dx}{b \left (a^2+b^2\right )^2}-\frac{a^4 \int (e+f x) \text{sech}(c+d x) \, dx}{2 b^3 \left (a^2+b^2\right )}+\frac{\left (a^3 f\right ) \int \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^2 d}+\frac{\left (a^3 f\right ) \int \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right ) \, dx}{\left (a^2+b^2\right )^2 d}+\frac{\left (a^3 f\right ) \int \text{sech}^2(c+d x) \, dx}{2 b^2 \left (a^2+b^2\right ) d}\\ &=\frac{a^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 d}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{2 a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d}-\frac{a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 \left (a^2+b^2\right ) d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}-\frac{i a^2 f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b^3 d^2}-\frac{i f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b d^2}+\frac{i a^2 f \text{Li}_2\left (i e^{c+d x}\right )}{2 b^3 d^2}+\frac{i f \text{Li}_2\left (i e^{c+d x}\right )}{2 b d^2}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}-\frac{a^4 f \text{sech}(c+d x)}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{a^3 (e+f x) \text{sech}^2(c+d x)}{2 b^2 \left (a^2+b^2\right ) d}-\frac{a f \tanh (c+d x)}{2 b^2 d^2}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}-\frac{a^4 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 \left (a^2+b^2\right ) d}+\frac{\left (2 a^3\right ) \int \frac{e^{2 (c+d x)} (e+f x)}{1+e^{2 (c+d x)}} \, dx}{\left (a^2+b^2\right )^2}+\frac{\left (a^3 f\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{a-\sqrt{a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{\left (a^2+b^2\right )^2 d^2}+\frac{\left (a^3 f\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{a+\sqrt{a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{\left (a^2+b^2\right )^2 d^2}+\frac{\left (i a^3 f\right ) \operatorname{Subst}(\int 1 \, dx,x,-i \tanh (c+d x))}{2 b^2 \left (a^2+b^2\right ) d^2}+\frac{\left (i a^4 f\right ) \int \log \left (1-i e^{c+d x}\right ) \, dx}{b \left (a^2+b^2\right )^2 d}-\frac{\left (i a^4 f\right ) \int \log \left (1+i e^{c+d x}\right ) \, dx}{b \left (a^2+b^2\right )^2 d}+\frac{\left (i a^4 f\right ) \int \log \left (1-i e^{c+d x}\right ) \, dx}{2 b^3 \left (a^2+b^2\right ) d}-\frac{\left (i a^4 f\right ) \int \log \left (1+i e^{c+d x}\right ) \, dx}{2 b^3 \left (a^2+b^2\right ) d}\\ &=\frac{a^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 d}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{2 a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d}-\frac{a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 \left (a^2+b^2\right ) d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}+\frac{a^3 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right )^2 d}-\frac{i a^2 f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b^3 d^2}-\frac{i f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b d^2}+\frac{i a^2 f \text{Li}_2\left (i e^{c+d x}\right )}{2 b^3 d^2}+\frac{i f \text{Li}_2\left (i e^{c+d x}\right )}{2 b d^2}-\frac{a^3 f \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d^2}-\frac{a^3 f \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d^2}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}-\frac{a^4 f \text{sech}(c+d x)}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{a^3 (e+f x) \text{sech}^2(c+d x)}{2 b^2 \left (a^2+b^2\right ) d}-\frac{a f \tanh (c+d x)}{2 b^2 d^2}+\frac{a^3 f \tanh (c+d x)}{2 b^2 \left (a^2+b^2\right ) d^2}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}-\frac{a^4 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 \left (a^2+b^2\right ) d}+\frac{\left (i a^4 f\right ) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d^2}-\frac{\left (i a^4 f\right ) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d^2}+\frac{\left (i a^4 f\right ) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{2 b^3 \left (a^2+b^2\right ) d^2}-\frac{\left (i a^4 f\right ) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{2 b^3 \left (a^2+b^2\right ) d^2}-\frac{\left (a^3 f\right ) \int \log \left (1+e^{2 (c+d x)}\right ) \, dx}{\left (a^2+b^2\right )^2 d}\\ &=\frac{a^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 d}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{2 a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d}-\frac{a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 \left (a^2+b^2\right ) d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}+\frac{a^3 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right )^2 d}-\frac{i a^2 f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b^3 d^2}-\frac{i f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b d^2}+\frac{i a^4 f \text{Li}_2\left (-i e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d^2}+\frac{i a^4 f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{i a^2 f \text{Li}_2\left (i e^{c+d x}\right )}{2 b^3 d^2}+\frac{i f \text{Li}_2\left (i e^{c+d x}\right )}{2 b d^2}-\frac{i a^4 f \text{Li}_2\left (i e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d^2}-\frac{i a^4 f \text{Li}_2\left (i e^{c+d x}\right )}{2 b^3 \left (a^2+b^2\right ) d^2}-\frac{a^3 f \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d^2}-\frac{a^3 f \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d^2}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}-\frac{a^4 f \text{sech}(c+d x)}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{a^3 (e+f x) \text{sech}^2(c+d x)}{2 b^2 \left (a^2+b^2\right ) d}-\frac{a f \tanh (c+d x)}{2 b^2 d^2}+\frac{a^3 f \tanh (c+d x)}{2 b^2 \left (a^2+b^2\right ) d^2}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}-\frac{a^4 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 \left (a^2+b^2\right ) d}-\frac{\left (a^3 f\right ) \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{2 (c+d x)}\right )}{2 \left (a^2+b^2\right )^2 d^2}\\ &=\frac{a^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 d}+\frac{(e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b d}-\frac{2 a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d}-\frac{a^4 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{b^3 \left (a^2+b^2\right ) d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}-\frac{a^3 (e+f x) \log \left (1+\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d}+\frac{a^3 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{\left (a^2+b^2\right )^2 d}-\frac{i a^2 f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b^3 d^2}-\frac{i f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b d^2}+\frac{i a^4 f \text{Li}_2\left (-i e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d^2}+\frac{i a^4 f \text{Li}_2\left (-i e^{c+d x}\right )}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{i a^2 f \text{Li}_2\left (i e^{c+d x}\right )}{2 b^3 d^2}+\frac{i f \text{Li}_2\left (i e^{c+d x}\right )}{2 b d^2}-\frac{i a^4 f \text{Li}_2\left (i e^{c+d x}\right )}{b \left (a^2+b^2\right )^2 d^2}-\frac{i a^4 f \text{Li}_2\left (i e^{c+d x}\right )}{2 b^3 \left (a^2+b^2\right ) d^2}-\frac{a^3 f \text{Li}_2\left (-\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d^2}-\frac{a^3 f \text{Li}_2\left (-\frac{b e^{c+d x}}{a+\sqrt{a^2+b^2}}\right )}{\left (a^2+b^2\right )^2 d^2}+\frac{a^3 f \text{Li}_2\left (-e^{2 (c+d x)}\right )}{2 \left (a^2+b^2\right )^2 d^2}+\frac{a^2 f \text{sech}(c+d x)}{2 b^3 d^2}-\frac{f \text{sech}(c+d x)}{2 b d^2}-\frac{a^4 f \text{sech}(c+d x)}{2 b^3 \left (a^2+b^2\right ) d^2}+\frac{a (e+f x) \text{sech}^2(c+d x)}{2 b^2 d}-\frac{a^3 (e+f x) \text{sech}^2(c+d x)}{2 b^2 \left (a^2+b^2\right ) d}-\frac{a f \tanh (c+d x)}{2 b^2 d^2}+\frac{a^3 f \tanh (c+d x)}{2 b^2 \left (a^2+b^2\right ) d^2}+\frac{a^2 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 d}-\frac{(e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b d}-\frac{a^4 (e+f x) \text{sech}(c+d x) \tanh (c+d x)}{2 b^3 \left (a^2+b^2\right ) d}\\ \end{align*}
Mathematica [A] time = 7.86361, size = 588, normalized size = 0.66 \[ \frac{-2 a^3 f \text{PolyLog}\left (2,\frac{b e^{c+d x}}{\sqrt{a^2+b^2}-a}\right )-2 a^3 f \text{PolyLog}\left (2,-\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}\right )-i b f \left (3 a^2+b^2\right ) \text{PolyLog}\left (2,-i e^{c+d x}\right )+i b f \left (3 a^2+b^2\right ) \text{PolyLog}\left (2,i e^{c+d x}\right )+a^3 f \text{PolyLog}\left (2,-e^{2 (c+d x)}\right )+d \left (a^2+b^2\right ) (e+f x) \text{sech}^2(c+d x) (a-b \sinh (c+d x))-2 a^3 f (c+d x) \log \left (\frac{b e^{c+d x}}{a-\sqrt{a^2+b^2}}+1\right )-2 a^3 f (c+d x) \log \left (\frac{b e^{c+d x}}{\sqrt{a^2+b^2}+a}+1\right )-f \left (a^2+b^2\right ) \text{sech}(c+d x) (a \sinh (c+d x)+b)+6 a^2 b d e \tan ^{-1}\left (e^{c+d x}\right )-2 a^3 d e \log (a+b \sinh (c+d x))+3 i a^2 b f (c+d x) \log \left (1-i e^{c+d x}\right )-3 i a^2 b f (c+d x) \log \left (1+i e^{c+d x}\right )-6 a^2 b c f \tan ^{-1}\left (e^{c+d x}\right )+2 a^3 c f \log (a+b \sinh (c+d x))-2 a^3 d e (c+d x)+2 a^3 d e \log \left (e^{2 (c+d x)}+1\right )+2 a^3 c f (c+d x)-2 a^3 c f \log \left (e^{2 (c+d x)}+1\right )+2 a^3 f (c+d x) \log \left (e^{2 (c+d x)}+1\right )+2 b^3 d e \tan ^{-1}\left (e^{c+d x}\right )+i b^3 f (c+d x) \log \left (1-i e^{c+d x}\right )-i b^3 f (c+d x) \log \left (1+i e^{c+d x}\right )-2 b^3 c f \tan ^{-1}\left (e^{c+d x}\right )}{2 d^2 \left (a^2+b^2\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.202, size = 2284, normalized size = 2.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -{\left (\frac{a^{3} \log \left (-2 \, a e^{\left (-d x - c\right )} + b e^{\left (-2 \, d x - 2 \, c\right )} - b\right )}{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} d} - \frac{a^{3} \log \left (e^{\left (-2 \, d x - 2 \, c\right )} + 1\right )}{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} d} + \frac{{\left (3 \, a^{2} b + b^{3}\right )} \arctan \left (e^{\left (-d x - c\right )}\right )}{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} d} + \frac{b e^{\left (-d x - c\right )} - 2 \, a e^{\left (-2 \, d x - 2 \, c\right )} - b e^{\left (-3 \, d x - 3 \, c\right )}}{{\left (a^{2} + b^{2} + 2 \,{\left (a^{2} + b^{2}\right )} e^{\left (-2 \, d x - 2 \, c\right )} +{\left (a^{2} + b^{2}\right )} e^{\left (-4 \, d x - 4 \, c\right )}\right )} d}\right )} e - f{\left (\frac{{\left (b d x e^{\left (3 \, c\right )} + b e^{\left (3 \, c\right )}\right )} e^{\left (3 \, d x\right )} -{\left (2 \, a d x e^{\left (2 \, c\right )} + a e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )} -{\left (b d x e^{c} - b e^{c}\right )} e^{\left (d x\right )} - a}{a^{2} d^{2} + b^{2} d^{2} +{\left (a^{2} d^{2} e^{\left (4 \, c\right )} + b^{2} d^{2} e^{\left (4 \, c\right )}\right )} e^{\left (4 \, d x\right )} + 2 \,{\left (a^{2} d^{2} e^{\left (2 \, c\right )} + b^{2} d^{2} e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )}} - \int -\frac{2 \,{\left (a^{4} x e^{\left (d x + c\right )} - a^{3} b x\right )}}{a^{4} b + 2 \, a^{2} b^{3} + b^{5} -{\left (a^{4} b e^{\left (2 \, c\right )} + 2 \, a^{2} b^{3} e^{\left (2 \, c\right )} + b^{5} e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )} - 2 \,{\left (a^{5} e^{c} + 2 \, a^{3} b^{2} e^{c} + a b^{4} e^{c}\right )} e^{\left (d x\right )}}\,{d x} - \int -\frac{2 \, a^{3} x -{\left (3 \, a^{2} b e^{c} + b^{3} e^{c}\right )} x e^{\left (d x\right )}}{a^{4} + 2 \, a^{2} b^{2} + b^{4} +{\left (a^{4} e^{\left (2 \, c\right )} + 2 \, a^{2} b^{2} e^{\left (2 \, c\right )} + b^{4} e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )}}\,{d x}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 4.00183, size = 11386, normalized size = 12.74 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e + f x\right ) \tanh ^{3}{\left (c + d x \right )}}{a + b \sinh{\left (c + d x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]